[INFO] fetching crate libcplusplus 0.1.0...
[INFO] fixing libcplusplus-0.1.0 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] extracting crate libcplusplus 0.1.0 into /workspace/builds/worker-1-tc1/source
[INFO] started tweaking crates.io crate libcplusplus 0.1.0
[INFO] finished tweaking crates.io crate libcplusplus 0.1.0
[INFO] tweaked toml for crates.io crate libcplusplus 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate libcplusplus 0.1.0 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate libcplusplus 0.1.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 6ceb59810c14e6efd604d21261a35430a5c457ca3d1319b0efa952c600a9d0b1
[INFO] running `Command { std: "docker" "start" "6ceb59810c14e6efd604d21261a35430a5c457ca3d1319b0efa952c600a9d0b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6ceb59810c14e6efd604d21261a35430a5c457ca3d1319b0efa952c600a9d0b1" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6ceb59810c14e6efd604d21261a35430a5c457ca3d1319b0efa952c600a9d0b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6ceb59810c14e6efd604d21261a35430a5c457ca3d1319b0efa952c600a9d0b1" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking libcplusplus v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `layout`
[INFO] [stdout]   --> src/lib.rs:27:44
[INFO] [stdout]    |
[INFO] [stdout] 27 |     unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) {
[INFO] [stdout]    |                                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `layout`
[INFO] [stdout]   --> src/lib.rs:40:44
[INFO] [stdout]    |
[INFO] [stdout] 40 |     unsafe fn realloc(&self, ptr: *mut u8, layout: Layout, new_size: usize) -> *mut u8 {
[INFO] [stdout]    |                                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sys_write` is never used
[INFO] [stdout]   --> src/platform/syscall.rs:10:15
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub unsafe fn sys_write(fd: usize, buf: *const u8, len: usize) -> isize {
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sys_exit_group` is never used
[INFO] [stdout]   --> src/platform/syscall.rs:32:15
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub unsafe fn sys_exit_group(code: i32) -> ! {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl`
[INFO] [stdout]   --> src/lib.rs:57:1
[INFO] [stdout]    |
[INFO] [stdout] 57 | / fn panic(_info: &core::panic::PanicInfo) -> ! {
[INFO] [stdout] 58 | |     // SAFETY: abort is provided by the C runtime and never returns.
[INFO] [stdout] 59 | |     unsafe { platform::abort() }
[INFO] [stdout] 60 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the lang item is first defined in crate `std` (which `test` depends on)
[INFO] [stdout]    = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/622891a4e29178280638a6b63a8908bde2c0c854/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ebc3593764c44f83.rmeta
[INFO] [stdout]    = note: second definition in the local crate (`libcplusplus`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libcplusplus` (lib test) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "6ceb59810c14e6efd604d21261a35430a5c457ca3d1319b0efa952c600a9d0b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6ceb59810c14e6efd604d21261a35430a5c457ca3d1319b0efa952c600a9d0b1", kill_on_drop: false }`
[INFO] [stdout] 6ceb59810c14e6efd604d21261a35430a5c457ca3d1319b0efa952c600a9d0b1
